From: Tim Starling Date: Sat, 11 Sep 2004 08:32:58 +0000 (+0000) Subject: explicit default values for everything, for consistency and to avoid notices when... X-Git-Tag: 1.5.0alpha1~2027 X-Git-Url: http://git.cyclocoop.org/%22.%24info%5B?a=commitdiff_plain;h=aa9e8e51b379aac3736aac02cd6702a16cdc2168;p=lhc%2Fweb%2Fwiklou.git explicit default values for everything, for consistency and to avoid notices when accessing the array --- diff --git a/includes/RecentChange.php b/includes/RecentChange.php index e35775be88..1dba1ea679 100644 --- a/includes/RecentChange.php +++ b/includes/RecentChange.php @@ -199,6 +199,7 @@ class RecentChange 'rc_moved_to_ns' => 0, 'rc_moved_to_title' => '', 'rc_ip' => $ip, + 'rc_patrolled' => 0, 'rc_new' => 0 # obsolete ); @@ -239,6 +240,7 @@ class RecentChange 'rc_moved_to_ns' => 0, 'rc_moved_to_title' => '', 'rc_ip' => $ip, + 'rc_patrolled' => 0, 'rc_new' => 1 # obsolete );